package com.gsafety.wellsfort.dao.security;

import com.gsafety.wellsfort.domain.model.security.AdminRoleRel;

import java.util.List;

public interface AdminRoleRelDAO {
    int deleteByPrimaryKey(Integer id);

    int insert(AdminRoleRel record);

    int insertSelective(AdminRoleRel record);

    AdminRoleRel selectByPrimaryKey(Integer id);


    List<AdminRoleRel> selectByAdminId(Integer adminId);

    int updateByPrimaryKeySelective(AdminRoleRel record);

    int updateByPrimaryKey(AdminRoleRel record);

    int deleteByAdminId(Integer adminId);
}